///###############
//FILE          : SortedStructureFactory.java
//WRITER        : Lior Zimmerman, liorz06, 066462300
//WRITER        : Ohad Dan, ohad_dan, 036767960
//EXERCISE      : oop ex1 2008
//DESCRIPTION   : this interface is a factory interface for any sortedStructure
//              : factory class.
//###############
package oop.ex1.sortedStructure;

/**
 * A factory class - creates a sorted structure.
 */
public interface SortedStructureFactory
    <Key extends Comparable<Key>, InfoType extends Keyed<Key> >{
    /**
     * Initiates a new sorted structure.
     * @return An empty sorted structure
     */
    public SortedStructure<Key, InfoType> getInstance();
}